package sixth.group.service;

import sixth.group.domain.Administrator;
import sixth.group.domain.Customer;
import sixth.group.domain.Orderinf;
import sixth.group.domain.Restaurant;

import java.util.List;

public interface XyxAdministratorService {
    //管理员登录
    public boolean administratorLoginCheck(Administrator administrator);
    //修改管理员密码
    public boolean changeAdministratorPass(Administrator administrator);
    //浏览订单
    public List<Orderinf> scanOrderInf();
    //删除订单
    public boolean deleteOrder(Orderinf orderinf);
    //修改商家权限
    public boolean changeRestaurantPermission(Restaurant restaurant);
    //修改顾客权限
    public boolean changeCustomerPermission(Customer customer);

}
